Ext.onReady(function() {
	var jxId = 0;
	var toolbar = Ext.create('Ext.toolbar.Toolbar', {
		dock : 'top',
		items : [ {
			text : '返回',
			xtype : 'button',
			listeners:{
				click: function(){
					location.href="/sysMgr/jixiao_kaohe";
				}
			}
		}]
	});

	var type1 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '工作周报',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var type2 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '党组织活动资料',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var type3 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '设备周报',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var type4 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '工作报告',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var type5 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '安全学习资料',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var type6 = Ext.create('Ext.form.field.Number', {
		fieldLabel : '技术报告',
		margin : '20 20 0 20',
		disabled : true,
        minValue: 0
	});
	
	var main = Ext.create('Ext.panel.Panel', {
		border : false,
		bodyBorder : false,
		items : [type1, type2, type3, type4, type5, type6]
	});
	
	var panel = Ext.create("Ext.panel.Panel", {
		title: '业绩考核详细',
		border : false,
		bodyBorder : false,
		layout : 'fit',
		dockedItems : [toolbar],
		items : [main],
		listeners : {
			'afterrender' : function()
			{
				var me = this;
				type1.setValue(assessAttachment.weeklyWork);
				type2.setValue(assessAttachment.partyOrganization);
				type3.setValue(assessAttachment.weeklyEquipment);
				type4.setValue(assessAttachment.workReport);
				type5.setValue(assessAttachment.safetyLearn);
				type6.setValue(assessAttachment.technicalReport);
			}
		}
	});
	
	Ext.create('Ext.Viewport', {
		layout : 'fit',
		style : 'background:none;background-color:white;',
		items : [ panel ]
	});
});